/*
 * JCPCOTIZACIONESApp.java
 */

package jcpcotizaciones;

import jcpcotizaciones.Modelo.Usuario;
import javax.swing.UIManager;
import jcpcotizaciones.vista.inicioSesion;
import org.jdesktop.application.Application;
import org.jdesktop.application.SingleFrameApplication;

/**
 * The main class of the application.
 */
public class JCPCOTIZACIONESApp extends SingleFrameApplication {
public static Usuario usu= new Usuario();
    /**
     * At startup create and show the main frame of the application.
     */
    @Override public void startup() {
       // new Thread (new Splash()).start();
       /* try {
            UIManager.setLookAndFeel("com.jtattoo.plaf.mcwin.McWinLookAndFeel");
        } catch (Exception e) { }*/
         show(new JCPCOTIZACIONESView(this));
    }

    /**
     * This method is to initialize the specified window by injecting resources.
     * Windows shown in our application come fully initialized from the GUI
     * builder, so this additional configuration is not needed.
     */
    @Override protected void configureWindow(java.awt.Window root) {
    }

    /**
     * A convenient static getter for the application instance.
     * @return the instance of JCPCOTIZACIONESApp
     */
    public static JCPCOTIZACIONESApp getApplication() {
        return Application.getInstance(JCPCOTIZACIONESApp.class);
    }

    /**
     * Main method launching the application.
     */
    public static void main(String[] args) {
        /*try {
            UIManager.setLookAndFeel("com.jtattoo.plaf.mcwin.McWinLookAndFeel");
        } catch (Exception e) { }*/

        inicioSesion in = new inicioSesion();
        in.setLocationRelativeTo(null);
        in.setVisible(true);

        //new Thread (new Splash()).start();
        //launch(JCPCOTIZACIONESApp.class, args);

    }
}
